/*聊天窗口样式*/
body .layui-layer .layui-layer-content {
  background: 0 0;
  overflow: visible;
}
body .layui-layer .layui-layer-title {
  height: 50px;
  border-bottom: none;
  background-color: #F8F8F8;
  background-color: rgba(245,245,245,.7);
}

.chat {
  width: 100%;
  height: 100%;
/*   background:url("../../images/flowerBg.jpg") no-repeat; */
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  background-color: rgba(255,255,255,.9);
}
.chat-title {
  position: absolute;
  top: -50px;

  cursor: move;
  height: 50px;
  line-height: 50px;
  padding: 0 80px 0 20px;
  border-bottom: none;
  /*background-color: #F8F8F8;*/
  background-color: rgba(245,245,245,.5);
  font-size: 16px;
  color: #333;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
  text-overflow: ellipsis;
  white-space: nowrap;

}
.chat-box {
  margin-left: 200px;
}
.chat-main {
  background-color: rgba(255,255,255,.9);
  height: 292px;
  padding: 15px 15px 5px;
  overflow-x: hidden;
  overflow-y: auto;
}
.chat-main ul li {
  position: relative;
  font-size: 0;
  margin-bottom: 10px;
  min-height: 68px;
}

/*左边聊天内容*/
.chat-text, .chat-user {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
}

.chat-user {
  position: absolute;
  left: 0;
}

.chat-user cite {
  position: absolute;
  left: 0;
  top: -2px;
  width: 500px;
  line-height: 24px;
  font-size: 12px;
  white-space: nowrap;
  color: #999;
  text-align: left;
  font-style: normal;
}
.chat-user cite i {
  padding-left: 15px;
  font-style: normal;
}

.chat-text {
  position: relative;
  line-height: 22px;
  margin-top: 25px;
  padding: 8px 15px;
  background-color: #e2e2e2;
  border-radius: 3px;
  color: #333;
  word-break: break-all;
  max-width: 462px\9;
}
.chat-text:after {
  content: '';
  position: absolute;
  left: -10px;
  top: 13px;
  width: 0;
  height: 0;
  border-style: solid dashed dashed;
  border-color: #e2e2e2 transparent transparent;
  overflow: hidden;
  border-width: 10px;
}

/*右边聊天内容*/
.chat-main ul .chat-mine {
  text-align: right;
  padding-left: 0;
  /*padding-right: 60px;*/
}

.chat-mine .chat-user {
  left: auto;
  right: 3px;
  position: absolute;
}
.chat-mine .chat-user cite {
  left: auto;
  right: 15px;
  text-align: right;
}

.chat-mine .chat-user cite {
  left: auto;
  right: 0;
  text-align: right;
}
.chat-mine .chat-user cite i {
  padding-left: 0;
  padding-right: 15px;
}

.chat-mine .chat-text {
  margin-left: 0;
  text-align: left;
  background-color: #5FB878;
  color: #fff;
}
.chat-mine .chat-text:after {
  left: auto;
  right: -10px;
  border-top-color: #5FB878;
}

/*聊天底部*/
.chat-footer {
  border-top: 1px solid #F1F1F1;
  background-color: rgba(255,255,255,.9);
}
.chat-tool {
  position: relative;
  padding: 0 8px;
  height: 38px;
  line-height: 38px;
  font-size: 0;
}
.chat-tool span {
  position: relative;
  margin: 0 10px;
  display: inline-block;
  vertical-align: top;
  font-size: 24px;
  cursor: pointer;
}
.tool-image input {
  position: absolute;
  font-size: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: .01;
  filter: Alpha(opacity=1);
  cursor: pointer;
}
/*输入框*/
.chat-textarea {
  margin-left: 10px;
}
.chat-textarea textarea {
  display: block;
  width: 100%;
  padding: 5px 0 0;
  height: 68px;
  line-height: 20px;
  border: none;
  overflow: auto;
  resize: none;
  background: 0 0;
}

.chat-bottom {
  position: relative;
  height: 46px;
  background-color: rgba(255,255,255,.9);
}
.chat-send {
  position: absolute;
  right: 15px;
  top: 3px;
  height: 32px;
  line-height: 32px;
  font-size: 0;
  cursor: pointer;
}

.chat-send span {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  line-height: 32px;
  margin-left: 5px;
  padding: 0 20px;
  background-color: #5FB878;
  color: #fff;
  border-radius: 3px;
}
.chat-send .send-btn {
  border-radius: 3px 0 0 3px;
}

.chat-list {
  display: block;
  height: 520px;
  position: absolute;
  z-index: 1000;
  top: -50px;
  left: 0;
  width: 200px;
  background-color: #D9D9D9;
  overflow: hidden;
  font-size: 0;

}
.chat-list li {
  white-space: nowrap;
  position: relative;
  margin: 5px;
  padding: 5px 30px 5px 5px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 3px;
}
.chat-list li:hover {
  background: #e2e2e2;
}
.chat-list li.chat-this:hover {
  background: #F3F3F3;
}
.chat-list li span {
  width: 100px;
  padding-left: 10px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list li .layui-icon {
  display: none;
  position: absolute;
  right: 5px;
  top: 7px;
  color: #555;
  font-size: 22px;
}
.chat-list li .layui-icon:hover {
  color: #dc0000;
}
.chat-list li:hover .layui-icon {
  display: block;
}
.chat-this {
  background-color: #F3F3F3;
}
.ltck-ct {
  display: none;
}